package com.qf.day07.tuxing;

public class TuxingUtils {
    public static void printInfo(Tuxing tuXing){
        tuXing.zc();
        tuXing.area();
    }

    public static void main(String[] args) {
        Circle circle = new Circle();
        circle.setR(1);
        printInfo(circle);
        Rectangle rectangle = new Rectangle("矩形", 10, 5);
        TuxingUtils.printInfo(rectangle);
    }

}
